#pragma once
#include <iostream>
using namespace std;
#include<string>

template<class T1, class T2>
class Person
{
public:
	Person(T1 n, T2 a)
	{
		name = n;
		age = a;
	}


	void showPerson()
	{
		cout << name << " " << age << endl;

	}


	T1 name;
	T2 age;
};

//template<class T1, class T2>
//Person<T1, T2>::Person(T1 n, T2 a)
//{
//	name = n;
//	age = a;
//}
//
//template<class T1, class T2>
//void Person<T1, T2>::showPerson()
//{
//	cout << name << " " << age << endl;
//}
